package com.school.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.school.dao.HljtClassimageDao;
import com.school.entity.HljtClassimage;
import com.school.service.HljtClassimageService;
@Service
public class HljtClassimageServiceImpl implements HljtClassimageService{
	@Autowired
	private HljtClassimageDao hljtClassimageDao;

	@Override
	public List<HljtClassimage> findListImage(Integer classid, String type,String title) {
			return hljtClassimageDao.findListImage(classid, type,title);
	}

	@Override
	public Integer deleteclassImage(Integer id) {
			return hljtClassimageDao.deleteclassImage(id);
	}

	@Override
	public Integer addcassImage(HljtClassimage Classimage) {
			return hljtClassimageDao.addcassImage(Classimage);
	}

	@Override
	public HljtClassimage findImage(Integer id) {
			return hljtClassimageDao.findImage(id);
	}

	@Override
	public Integer updateImage(HljtClassimage Classimage) {
		return hljtClassimageDao.updateImage(Classimage);
	}


	@Override
	public List<HljtClassimage> findListImagepage(Integer pageSize, Integer pageIndex, Integer classid, String type,String studentname) {
		return hljtClassimageDao.findListImagepage(pageSize, pageIndex, classid, type,studentname);
	}

	@Override
	public List<HljtClassimage> findListImagelikepage(String title, Integer pageSize, Integer pageIndex,
			Integer classid, String type) {
		return hljtClassimageDao.findListImagelikepage(title, pageSize, pageIndex, classid, type);
	}

	@Override
	public List<HljtClassimage> findclassvideo(String title, Integer classid, String type) {
		
		return hljtClassimageDao.findclassvideo(title, classid, type);
	}

	@Override
	public List<HljtClassimage> findclassimageall(Integer classid, String type) {
		// TODO Auto-generated method stub
		return hljtClassimageDao.findclassimageall(classid, type);
	}

	

}
